package com.dbdata.move.model;

// Generated cafuc by Hibernate Tools 4

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.OneToOne;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.Parameter;

/**
 * LicenceTheoreticalGrade generated by hbm2java
 */
@Entity
@Table(name = "licence_theoretical_grade")
public class LicenceTheoreticalGrade implements java.io.Serializable {

	private long id;
	private Student student;
	private String licenceNumber;
	private Float paeGrade;
	private Boolean paePass;
	private Date paeDate;
	private Float prhGrade;
	private Boolean prhPass;
	private Date prhDate;
	private Float iraGrade;
	private Boolean iraPass;
	private Date iraDate;
	private Float irhGrade;
	private Boolean irhPass;
	private Date irhDate;
	private Float caeGrade;
	private Boolean caePass;
	private Date caeDate;
	private Float crhGrade;
	private Boolean crhPass;
	private Date crhDate;
	private Float ataGrade;
	private Boolean ataPass;
	private Date ataDate;
	private Float athGrade;
	private Boolean athPass;
	private Date athDate;
	private Float fimGrade;
	private Boolean fimPass;
	private Date fimDate;
	private Float gimGrade;
	private Boolean gimPass;
	private Date gimDate;

	public LicenceTheoreticalGrade() {
	}

	public LicenceTheoreticalGrade(Student student, String licenceNumber) {
		this.student = student;
		this.licenceNumber = licenceNumber;
	}

	public LicenceTheoreticalGrade(Student student, String licenceNumber,
			Float paeGrade, Boolean paePass, Date paeDate, Float prhGrade,
			Boolean prhPass, Date prhDate, Float iraGrade, Boolean iraPass,
			Date iraDate, Float irhGrade, Boolean irhPass, Date irhDate,
			Float caeGrade, Boolean caePass, Date caeDate, Float crhGrade,
			Boolean crhPass, Date crhDate, Float ataGrade, Boolean ataPass,
			Date ataDate, Float athGrade, Boolean athPass, Date athDate,
			Float fimGrade, Boolean fimPass, Date fimDate, Float gimGrade,
			Boolean gimPass, Date gimDate) {
		this.student = student;
		this.licenceNumber = licenceNumber;
		this.paeGrade = paeGrade;
		this.paePass = paePass;
		this.paeDate = paeDate;
		this.prhGrade = prhGrade;
		this.prhPass = prhPass;
		this.prhDate = prhDate;
		this.iraGrade = iraGrade;
		this.iraPass = iraPass;
		this.iraDate = iraDate;
		this.irhGrade = irhGrade;
		this.irhPass = irhPass;
		this.irhDate = irhDate;
		this.caeGrade = caeGrade;
		this.caePass = caePass;
		this.caeDate = caeDate;
		this.crhGrade = crhGrade;
		this.crhPass = crhPass;
		this.crhDate = crhDate;
		this.ataGrade = ataGrade;
		this.ataPass = ataPass;
		this.ataDate = ataDate;
		this.athGrade = athGrade;
		this.athPass = athPass;
		this.athDate = athDate;
		this.fimGrade = fimGrade;
		this.fimPass = fimPass;
		this.fimDate = fimDate;
		this.gimGrade = gimGrade;
		this.gimPass = gimPass;
		this.gimDate = gimDate;
	}

	@GenericGenerator(name = "generator", strategy = "foreign", parameters = @Parameter(name = "property", value = "student"))
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "ID", unique = true, nullable = false)
	public long getId() {
		return this.id;
	}

	public void setId(long id) {
		this.id = id;
	}

	@OneToOne(fetch = FetchType.LAZY)
	@PrimaryKeyJoinColumn
	public Student getStudent() {
		return this.student;
	}

	public void setStudent(Student student) {
		this.student = student;
	}

	@Column(name = "LICENCE_NUMBER", nullable = false, length = 20)
	public String getLicenceNumber() {
		return this.licenceNumber;
	}

	public void setLicenceNumber(String licenceNumber) {
		this.licenceNumber = licenceNumber;
	}

	@Column(name = "PAE_Grade", precision = 12, scale = 0)
	public Float getPaeGrade() {
		return this.paeGrade;
	}

	public void setPaeGrade(Float paeGrade) {
		this.paeGrade = paeGrade;
	}

	@Column(name = "PAE_PASS")
	public Boolean getPaePass() {
		return this.paePass;
	}

	public void setPaePass(Boolean paePass) {
		this.paePass = paePass;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "PAE_DATE", length = 19)
	public Date getPaeDate() {
		return this.paeDate;
	}

	public void setPaeDate(Date paeDate) {
		this.paeDate = paeDate;
	}

	@Column(name = "PRH_Grade", precision = 12, scale = 0)
	public Float getPrhGrade() {
		return this.prhGrade;
	}

	public void setPrhGrade(Float prhGrade) {
		this.prhGrade = prhGrade;
	}

	@Column(name = "PRH_PASS")
	public Boolean getPrhPass() {
		return this.prhPass;
	}

	public void setPrhPass(Boolean prhPass) {
		this.prhPass = prhPass;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "PRH_DATE", length = 19)
	public Date getPrhDate() {
		return this.prhDate;
	}

	public void setPrhDate(Date prhDate) {
		this.prhDate = prhDate;
	}

	@Column(name = "IRA_Grade", precision = 12, scale = 0)
	public Float getIraGrade() {
		return this.iraGrade;
	}

	public void setIraGrade(Float iraGrade) {
		this.iraGrade = iraGrade;
	}

	@Column(name = "IRA_PASS")
	public Boolean getIraPass() {
		return this.iraPass;
	}

	public void setIraPass(Boolean iraPass) {
		this.iraPass = iraPass;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "IRA_DATE", length = 19)
	public Date getIraDate() {
		return this.iraDate;
	}

	public void setIraDate(Date iraDate) {
		this.iraDate = iraDate;
	}

	@Column(name = "IRH_Grade", precision = 12, scale = 0)
	public Float getIrhGrade() {
		return this.irhGrade;
	}

	public void setIrhGrade(Float irhGrade) {
		this.irhGrade = irhGrade;
	}

	@Column(name = "IRH_PASS")
	public Boolean getIrhPass() {
		return this.irhPass;
	}

	public void setIrhPass(Boolean irhPass) {
		this.irhPass = irhPass;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "IRH_DATE", length = 19)
	public Date getIrhDate() {
		return this.irhDate;
	}

	public void setIrhDate(Date irhDate) {
		this.irhDate = irhDate;
	}

	@Column(name = "CAE_Grade", precision = 12, scale = 0)
	public Float getCaeGrade() {
		return this.caeGrade;
	}

	public void setCaeGrade(Float caeGrade) {
		this.caeGrade = caeGrade;
	}

	@Column(name = "CAE_PASS")
	public Boolean getCaePass() {
		return this.caePass;
	}

	public void setCaePass(Boolean caePass) {
		this.caePass = caePass;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "CAE_DATE", length = 19)
	public Date getCaeDate() {
		return this.caeDate;
	}

	public void setCaeDate(Date caeDate) {
		this.caeDate = caeDate;
	}

	@Column(name = "CRH_Grade", precision = 12, scale = 0)
	public Float getCrhGrade() {
		return this.crhGrade;
	}

	public void setCrhGrade(Float crhGrade) {
		this.crhGrade = crhGrade;
	}

	@Column(name = "CRH_PASS")
	public Boolean getCrhPass() {
		return this.crhPass;
	}

	public void setCrhPass(Boolean crhPass) {
		this.crhPass = crhPass;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "CRH_DATE", length = 19)
	public Date getCrhDate() {
		return this.crhDate;
	}

	public void setCrhDate(Date crhDate) {
		this.crhDate = crhDate;
	}

	@Column(name = "ATA_Grade", precision = 12, scale = 0)
	public Float getAtaGrade() {
		return this.ataGrade;
	}

	public void setAtaGrade(Float ataGrade) {
		this.ataGrade = ataGrade;
	}

	@Column(name = "ATA_PASS")
	public Boolean getAtaPass() {
		return this.ataPass;
	}

	public void setAtaPass(Boolean ataPass) {
		this.ataPass = ataPass;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "ATA_DATE", length = 19)
	public Date getAtaDate() {
		return this.ataDate;
	}

	public void setAtaDate(Date ataDate) {
		this.ataDate = ataDate;
	}

	@Column(name = "ATH_Grade", precision = 12, scale = 0)
	public Float getAthGrade() {
		return this.athGrade;
	}

	public void setAthGrade(Float athGrade) {
		this.athGrade = athGrade;
	}

	@Column(name = "ATH_PASS")
	public Boolean getAthPass() {
		return this.athPass;
	}

	public void setAthPass(Boolean athPass) {
		this.athPass = athPass;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "ATH_DATE", length = 19)
	public Date getAthDate() {
		return this.athDate;
	}

	public void setAthDate(Date athDate) {
		this.athDate = athDate;
	}

	@Column(name = "FIM_Grade", precision = 12, scale = 0)
	public Float getFimGrade() {
		return this.fimGrade;
	}

	public void setFimGrade(Float fimGrade) {
		this.fimGrade = fimGrade;
	}

	@Column(name = "FIM_PASS")
	public Boolean getFimPass() {
		return this.fimPass;
	}

	public void setFimPass(Boolean fimPass) {
		this.fimPass = fimPass;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "FIM_DATE", length = 19)
	public Date getFimDate() {
		return this.fimDate;
	}

	public void setFimDate(Date fimDate) {
		this.fimDate = fimDate;
	}

	@Column(name = "GIM_Grade", precision = 12, scale = 0)
	public Float getGimGrade() {
		return this.gimGrade;
	}

	public void setGimGrade(Float gimGrade) {
		this.gimGrade = gimGrade;
	}

	@Column(name = "GIM_PASS")
	public Boolean getGimPass() {
		return this.gimPass;
	}

	public void setGimPass(Boolean gimPass) {
		this.gimPass = gimPass;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "GIM_DATE", length = 19)
	public Date getGimDate() {
		return this.gimDate;
	}

	public void setGimDate(Date gimDate) {
		this.gimDate = gimDate;
	}

}
